package pers.mihao.quickstream.common.oss;

import pers.mihao.quickstream.common.oss.model.UploadFileReq;

import java.io.FileOutputStream;

/**
 * @author mihao
 * @since 2024/11/25
 */
public interface OssService {

    String uploadFile(UploadFileReq uploadFileReq);

    byte[] readFile(String url);

    byte[] readFileByBiz(String bizId, String bizType, String appName);

    FileOutputStream readFileWithStream(String url);

}
